package com.neusoft.tijiancms.controller;

import com.neusoft.tijiancms.po.Hospital;
import com.neusoft.tijiancms.service.HospitalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/HospitalController")
public class HospitalController {
    @Autowired
    private HospitalService hospitalService;
    @RequestMapping("/getHospitalById")
    public Object getHospitalById(Hospital hospital){
        return hospitalService.getHospitalById(hospital);
    }
}
